Group Class Documentation

classGroup : Element

Namespace:Datalogics::PDFL

Inherits from:
Element

Detailed Description

A set of elements to be used within a PDF document.

A Group represents objects in a content object, but it resides in memory.

Therefore the group has no state and is not represented in any way in a PDF content stream. When used in a Clip, a group is used to associate Text objects into a single clipping object.

Referenced by

Constructor & Destructor Documentation

Group

Group(Grouprhs, InternalConstructsignifier)

Parameters

rhs: Group
signifier: InternalConstruct

Group

Group()

Create a new Group.

Group

Group(Contentcontent)

Parameters

content: Content

The new Content of the group.

Create a Group with the given Content.

Property Documentation

BoundingBox

RectBoundingBox[get]

Clip

ClipClip[get, set]

Content

ContentContent[get, set]

Matrix

MatrixMatrix[get, set]

Member Function Documentation

Clone

new GroupClone()

Returns:

The copied group.

Makes a copy of the group.

Make a copy of an group to obtain a new group that has a distinct set of attributes.

Clone

new GroupClone(ElementCloneFlagscloneFlags)

Parameters

cloneFlags: ElementCloneFlags

Flags that modify the cloning operation.

Returns:

The copied group.

Makes a copy of the group.

Make a copy of an group to obtain a new group that has a distinct set of attributes.

ColorConvert

GroupColorConvert(Documentdocument, ColorProfileprof, RenderIntentintent, boolembed)

Parameters

document: Document

The document the element belongs to.

prof: ColorProfile

The ICC ColorProfile to be applied.

intent: RenderIntent

The ICC Rendering Intent for the ColorProfile

embed: bool

If true, embed the color space and make the object calibrated. If it is false and the target profile is CMYK, RGB, or Gray, the colors space of the resulting objects, after conversion, will be DeviceCMYK, DeviceRGB, or DeviceGray, respectively.

Returns:

A new Group object with the applied ICC ColorProfile.

Applies the specified ICC ColorProfile to the elements in the Group object

ConstructorRetrieve

static new static GroupConstructorRetrieve(System.IntPtrignored)

Parameters

ignored: System.IntPtr

Returns:

new static Group

Dispose

voidDispose()

Returns:

void

DisposeChildren

voidDisposeChildren()

Returns:

void

Rotate

voidRotate(doubletheta)

Parameters

theta: double

Returns:

void

Rotate an element by T degrees counterclockwise units using the matrix [ cos T sin T -sin T cos T 0 0 ].

Scale

voidScale(doublesx, doublesy)

Parameters

sx: double
sy: double

Returns:

void

Scale an element by (sx,sy) units using the matrix [ sx 0 0 sy 0 0 ].

Translate

voidTranslate(doubletx, doublety)

Parameters

tx: double
ty: double

Returns:

void

Translate an element by (tx,ty) units using the matrix [ 1 0 0 1 tx ty ].