Class PrintPosItem
Base print item providing position and alignment properties
Implements
Inherited Members
Namespace: Reportman.Reporting
Assembly: Reportman.Reporting.dll
Syntax
[JsonConverter(typeof(PrintPosItemConverter))]
public class PrintPosItem : PrintItem, IDisposable
Constructors
PrintPosItem()
Constructor
Declaration
public PrintPosItem()
Fields
AnnotationExpression
Annotation expression
Declaration
public string AnnotationExpression
Field Value
| Type | Description |
|---|---|
| string |
Section
Constructor
Declaration
[JsonIgnore]
[JsonIgnore]
public Section Section
Field Value
| Type | Description |
|---|---|
| Section |
Properties
Align
Item alignment, when priting the parent section in multiple pages, the Z order (back/front) of the item and the alignment will determine if it will be printed at the last page, that is when aligned to bottom or bottom/right and in the front
Declaration
public PrintItemAlign Align { get; set; }
Property Value
| Type | Description |
|---|---|
| PrintItemAlign |
Hidden
Hidden flag
Declaration
public bool Hidden { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
PartialFlag
Internal flag determining the behaviour
Declaration
public bool PartialFlag { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
PosX
Horizontal print position in twips, related to the parent
Declaration
public int PosX { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
PosY
Vertical print position in twips, related to the parent
Declaration
public int PosY { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
FillAnnotation(MetaObject, MetaPage)
Declaration
public void FillAnnotation(MetaObject meta, MetaPage page)
Parameters
| Type | Name | Description |
|---|---|---|
| MetaObject | meta | |
| MetaPage | page |
GetExtension(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 |