[]
Represents a picture element in a body content.
public class Picture : ShapeBase, IBrowsable<Picture>
Gets or sets the alternative text for the picture.
This text can be used by assistive technologies or applications that do not display the actual picture.
public override string AlternativeText { get; set; }
Gets the shape effects formatting properties.
public ShapeEffects Effects { get; }
Gets the fill formatting properties.
public FillFormat Fill { get; }
Gets or sets a preset geometric shape type.
public GeometryType GeometryType { get; set; }
Gets or sets a value indicating whether this picture is hidden (i.e. present in the document but not visible).
Note that an application can have settings that allow this picture to be viewed.
public override bool Hidden { get; set; }
Gets the unique ID of the current picture in the document.
public override uint ID { get; }
Gets the ImageData representing this picture.
public ImageData ImageData { get; }
Gets the line formatting properties.
public LineFormat Line { get; }
Gets or sets the current picture name.
Typically, this is used to store the original file name of the picture.
public override string Name { get; set; }
Gets the next picture.
public Picture Next { get; }
Gets the previous picture.
public Picture Previous { get; }
Gets the style information for the picture.
public ShapeStyle Style { get; }
Gets or sets the title (caption) of this picture.
public override string Title { get; set; }
public void ApplyEffectsPreset(ShapeEffectsPreset preset)
preset
ShapeEffectsPresetpublic bool ApplyImageExifRotation()
true if the Exif data was found and the picture was rotated, false otherwise.
Sometimes images may contain Exif orientation data that cannot be represented by rotation, for example the data may contain mirroring instructions. Such cases are ignored.
Applies a PicturePreset to this Picture.
Preset contains predefined fill, line, geometry and effects.
public void ApplyPreset(PicturePreset preset)
preset
PicturePresetThe preset to apply.