Click or drag to resize

IPicture Interface

Represents a picture in a word document.

Namespace: Spire.Doc.Interface
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public interface IPicture : IParagraphBase, 
	IDocumentObject

The IPicture type exposes the following members.

Properties
Name Description
Public property AlternativeText
Gets or sets the picture's alternative text.
Public property Document
Gets document of this entity.
(Inherited from IDocumentObject .)
Public property DocumentObjectType
Gets the type of the document object.
(Inherited from IDocumentObject .)
Public property Height
Returns or setspicture height.
Public property HeightScale
Returns or setspicture height scale factor in percent.
Public property HorizontalAlignment
Returns or setspicture horizontal alignment.
Public property HorizontalOrigin
Gets \ sets horizontal origin of the picture.
Public property HorizontalPosition
Gets \ sets absolute horizontal position of the picture.
Public property Image
Gets internal System.Drawing.Image object.
Public property ImageBytes
Gets image byte array.
Public property IsComposite
Gets a value indicating whether this instance is composite.
(Inherited from IDocumentObject .)
Public property IsUnderText
Gets or sets a value indicating whether the picture is under text.
Public property NextSibling
Gets the next sibling.
(Inherited from IDocumentObject .)
Public property Owner
Gets owner of this document object.
(Inherited from IDocumentObject .)
Public property OwnerParagraph
Gets the owner paragraph.
(Inherited from IParagraphBase .)
Public property PreviousSibling
Gets the previous sibling.
(Inherited from IDocumentObject .)
Public property StyleName
Gets the style name.
(Inherited from IParagraphBase .)
Public property TextWrappingStyle
Gets \ sets text wrapping style of the picture.
Public property TextWrappingType
Gets \ sets text wrapping type of the picture.
Public property Title
Gets or sets the picture's title
Public property VerticalAlignment
Returns or setspicture vertical alignment.
Public property VerticalOrigin
Gets \ sets vertical origin of the picture.
Public property VerticalPosition
Gets \ sets absolute vertical position of the picture.
Public property Width
Returns or setspicture width.
Public property WidthScale
Returns or setspicture width scale factor in percent.
Top
Methods
Name Description
Public method AddCaption
Add Caption for current Picture
Public method ApplyStyle
Applys the character style.
(Inherited from IParagraphBase .)
Public method Clone
Creates a duplicate of the document object.
(Inherited from IDocumentObject .)
Public method GetNextWidgetSibling
Gets the next widget sibling.
(Inherited from IDocumentObject .)
Public method GetPreviousWidgetSibling
Gets the previous sibling.
(Inherited from IDocumentObject .)
Public method LoadImage( Byte )
Loads System.Drawing.Image as byte array.
Public method LoadImage(Image)
Loads System.Drawing.Image object.
Top
See Also