Interface IPrintLayout
Print Layouts
Inherited Members
System.ICloneable.Clone()
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
Namespace: OSGeo.MapGuide.ObjectModels.PrintLayout
Assembly: OSGeo.MapGuide.ObjectModels.dll
Syntax
public interface IPrintLayout : IResource, IVersionedEntity, ICloneable, INotifyPropertyChanged
Properties
| Improve this Doc View SourceCustomLogos
Gets the custom logos.
Declaration
IEnumerable<ILogo> CustomLogos { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ILogo> | The custom logos. |
CustomText
Gets the custom text elements.
Declaration
IEnumerable<IText> CustomText { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IText> | The custom text elements. |
LayoutProperties
Gets the layout properties.
Declaration
IPrintLayoutProperties LayoutProperties { get; }
Property Value
Type | Description |
---|---|
IPrintLayoutProperties | The layout properties. |
PageProperties
Gets the page properties.
Declaration
IPrintLayoutPageProperties PageProperties { get; }
Property Value
Type | Description |
---|---|
IPrintLayoutPageProperties | The page properties. |
Methods
| Improve this Doc View SourceAddLogo(ILogo)
Adds the logo.
Declaration
void AddLogo(ILogo logo)
Parameters
Type | Name | Description |
---|---|---|
ILogo | logo | The logo. |
AddText(IText)
Adds the text.
Declaration
void AddText(IText text)
Parameters
Type | Name | Description |
---|---|---|
IText | text | The text. |
CreateFont(String, Single, String)
Creates the font.
Declaration
IFont CreateFont(string name, float height, string units)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.Single | height | The height. |
System.String | units | The units. |
Returns
Type | Description |
---|---|
IFont |
CreateLogo(String, String, ISize, IPosition)
Creates the logo.
Declaration
ILogo CreateLogo(string symbolLibraryId, string symbolName, ISize size, IPosition position)
Parameters
Type | Name | Description |
---|---|---|
System.String | symbolLibraryId | The symbol library id. |
System.String | symbolName | Name of the symbol. |
ISize | size | The size. |
IPosition | position | The position. |
Returns
Type | Description |
---|---|
ILogo |
CreateLogoPosition(Single, Single, String)
Creates the logo position.
Declaration
IPosition CreateLogoPosition(float left, float bottom, string units)
Parameters
Type | Name | Description |
---|---|---|
System.Single | left | The left. |
System.Single | bottom | The bottom. |
System.String | units | The units. |
Returns
Type | Description |
---|---|
IPosition |
CreateLogoSize(Single, Single, String)
Creates the size of the logo.
Declaration
ISize CreateLogoSize(float width, float height, string units)
Parameters
Type | Name | Description |
---|---|---|
System.Single | width | The width. |
System.Single | height | The height. |
System.String | units | The units. |
Returns
Type | Description |
---|---|
ISize |
CreateText(String, IFont, IPosition)
Creates the text element.
Declaration
IText CreateText(string value, IFont font, IPosition text)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value. |
IFont | font | The font. |
IPosition | text | The text. |
Returns
Type | Description |
---|---|
IText |
CreateTextPosition(Single, Single, String)
Creates the text position.
Declaration
IPosition CreateTextPosition(float left, float bottom, string units)
Parameters
Type | Name | Description |
---|---|---|
System.Single | left | The left. |
System.Single | bottom | The bottom. |
System.String | units | The units. |
Returns
Type | Description |
---|---|
IPosition |
RemoveLogo(ILogo)
Removes the logo.
Declaration
void RemoveLogo(ILogo logo)
Parameters
Type | Name | Description |
---|---|---|
ILogo | logo | The logo. |
RemoveText(IText)
Removes the text.
Declaration
void RemoveText(IText text)
Parameters
Type | Name | Description |
---|---|---|
IText | text | The text. |