Class ReplaceAllShapesWithImageRequest
Replaces all shapes that match the given criteria with the provided image. The images replacing the shapes are rectangular after being inserted into the presentation and do not take on the forms of the shapes.
Implements
Inherited Members
Namespace: Google.Apis.Slides.v1.Data
Assembly: Google.Apis.Slides.v1.dll
Syntax
public class ReplaceAllShapesWithImageRequest : IDirectResponseSchema
Properties
ContainsText
If set, this request will replace all of the shapes that contain the given text.
Declaration
[JsonProperty("containsText")]
public virtual SubstringMatchCriteria ContainsText { get; set; }
Property Value
Type | Description |
---|---|
SubstringMatchCriteria |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageReplaceMethod
The image replace method. If you specify both a replace_method
and an image_replace_method
, the
image_replace_method
takes precedence. If you do not specify a value for image_replace_method
, but
specify a value for replace_method
, then the specified replace_method
value is used. If you do not
specify either, then CENTER_INSIDE is used.
Declaration
[JsonProperty("imageReplaceMethod")]
public virtual string ImageReplaceMethod { get; set; }
Property Value
Type | Description |
---|---|
string |
ImageUrl
The image URL. The image is fetched once at insertion time and a copy is stored for display inside the presentation. Images must be less than 50MB in size, cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF format. The provided URL can be at most 2 kB in length. The URL itself is saved with the image, and exposed via the Image.source_url field.
Declaration
[JsonProperty("imageUrl")]
public virtual string ImageUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
PageObjectIds
If non-empty, limits the matches to page elements only on the given pages. Returns a 400 bad request error if given the page object ID of a notes page or a notes master, or if a page with that object ID doesn't exist in the presentation.
Declaration
[JsonProperty("pageObjectIds")]
public virtual IList<string> PageObjectIds { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ReplaceMethod
The replace method. Deprecated: use image_replace_method
instead. If you specify both a replace_method
and an image_replace_method
, the image_replace_method
takes precedence.
Declaration
[JsonProperty("replaceMethod")]
public virtual string ReplaceMethod { get; set; }
Property Value
Type | Description |
---|---|
string |