Class LabelItem
A report print item that renders a static, language-aware text label, selecting the string for the report's current language and supporting optional HTML content.
Implements
Inherited Members
Namespace: Reportman.Reporting
Assembly: Reportman.Reporting.dll
Syntax
public class LabelItem : PrintItemText, IDisposable
Constructors
View SourceLabelItem()
Declaration
public LabelItem()
Properties
View SourceAllStrings
Declaration
public Strings AllStrings { get; set; }
Property Value
| Type | Description |
|---|---|
| Strings |
Text
Declaration
[JsonIgnore]
[JsonIgnore]
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceDoPrint(PrintOut, int, int, int, int, MetaFile, Point, ref bool)
This procedure will print the item into the MetaFile, internal implementation
Declaration
protected override void DoPrint(PrintOut adriver, int aposx, int aposy, int newwidth, int newheight, MetaFile metafile, Point MaxExtent, ref bool PartialPrint)
Parameters
| Type | Name | Description |
|---|---|---|
| PrintOut | adriver | Report processing driver |
| int | aposx | Horizontal position in twips |
| int | aposy | Vertical position in twips |
| int | newwidth | Width of the bounding box in twips |
| int | newheight | Height of the bounding box in twips |
| MetaFile | metafile | Destination MetaFile |
| Point | MaxExtent | Maximum extension |
| bool | PartialPrint | Returns true if some text will expand multiple pages |
Overrides
View SourceGetClassName()
Internal function to determine the object type name
Declaration
protected override string GetClassName()
Returns
| Type | Description |
|---|---|
| string | Object type name |
Overrides
View SourceGetExtension(PrintOut, Point, bool)
This procedure will return the current size of the printed item
Declaration
public override Point GetExtension(PrintOut adriver, Point MaxExtent, bool ForcePartial)
Parameters
| Type | Name | Description |
|---|---|---|
| PrintOut | adriver | Report processing driver |
| Point | MaxExtent | Maximum extension |
| bool | ForcePartial |
Returns
| Type | Description |
|---|---|
| Point |