Class Picture
Inheritance
System.Object
Picture
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Syncfusion.DLS.Base.dll
Syntax
public class Picture : ParagraphItem, IXDLSSerializable, IPicture, IParagraphItem, IEntityBase, ILeafWidget, IWidget
Constructors
Picture(IDocument)
Declaration
public Picture(IDocument doc)
Parameters
Picture(Picture, IParagraph)
Declaration
protected Picture(Picture pic, IParagraph paragraph)
Parameters
Properties
Height
Gets / sets picture height.
Declaration
public float Height { get; set; }
Property Value
HeightScale
Gets / sets picture height scale factor in percent.
Declaration
public float HeightScale { get; set; }
Property Value
Image
Gets internal System.Drawing.Image object.
Declaration
public Image Image { get; }
Property Value
Type |
System.Drawing.Image |
ImageBytes
Declaration
public byte[] ImageBytes { get; }
Property Value
Size
Gets / sets size of the picture object.
Declaration
public SizeF Size { get; }
Property Value
Type |
System.Drawing.SizeF |
Width
Gets / sets picture width.
Declaration
public float Width { get; set; }
Property Value
WidthScale
Gets / sets picture width scale factor in percent.
Declaration
public float WidthScale { get; set; }
Property Value
Methods
Clone(IParagraph)
Declaration
public override IParagraphItem Clone(IParagraph paragraph)
Parameters
Returns
Overrides
CreateLayoutInfo()
Declaration
protected override void CreateLayoutInfo()
Overrides
InitXDLSHolder()
Declaration
protected override void InitXDLSHolder()
Overrides
LoadImage(Byte[])
Loads image as bytes array.
Declaration
public void LoadImage(byte[] imageBytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
imageBytes |
|
LoadImage(Image)
Declaration
public void LoadImage(Image image)
Parameters
Type |
Name |
Description |
System.Drawing.Image |
image |
|
ReadXmlAttributes(IXDLSAttributeReader)
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Overrides
ReadXmlContent(IXDLSContentReader)
Declaration
protected override bool ReadXmlContent(IXDLSContentReader reader)
Parameters
Returns
Overrides
WriteXmlAttributes(IXDLSAttributeWriter)
Declaration
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Overrides
WriteXmlContent(IXDLSContentWriter)
Declaration
protected override void WriteXmlContent(IXDLSContentWriter writer)
Parameters
Overrides
Explicit Interface Implementations
Declaration
SizeF ILeafWidget.Measure(CustomGraphics cg)
Parameters
Returns
Type |
System.Drawing.SizeF |
Declaration
void IWidget.Draw(CustomGraphics cg, LayoutedWidget ltWidget)
Parameters
Implements