Interface IImageGraphic
Defines an image graphic
Namespace: OSGeo.MapGuide.ObjectModels.SymbolDefinition
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public interface IImageGraphic : IGraphicBase
Properties
| Improve this Doc View SourceAngle
Gets or sets the angle.
Declaration
string Angle { get; set; }
Property Value
Type | Description |
---|---|
System.String | The angle. |
Item
Gets or sets the image content
Declaration
IImageBase Item { get; set; }
Property Value
Type | Description |
---|---|
IImageBase |
Remarks
If the object being returned is an inline image, the object is a fresh instance whose byte array refers to the same instance. That is to say:
IInlineImage img1 = (IInlineImage)imageGraphic.Item;
IInlineImage img2 = (IInlineImage)imageGraphic.Item;
Object.ReferenceEquals(img1, img2); //false
Object.ReferenceEquals(img1.Content, img2.Content); //true
PositionX
Gets or sets the position X.
Declaration
string PositionX { get; set; }
Property Value
Type | Description |
---|---|
System.String | The position X. |
PositionY
Gets or sets the position Y.
Declaration
string PositionY { get; set; }
Property Value
Type | Description |
---|---|
System.String | The position Y. |
SizeScalable
Gets or sets the size scalable.
Declaration
string SizeScalable { get; set; }
Property Value
Type | Description |
---|---|
System.String | The size scalable. |
SizeX
Gets or sets the size X.
Declaration
string SizeX { get; set; }
Property Value
Type | Description |
---|---|
System.String | The size X. |
SizeY
Gets or sets the size Y.
Declaration
string SizeY { get; set; }
Property Value
Type | Description |
---|---|
System.String | The size Y. |