For a list of all members of this type, see TransformationGroup Members
System.Object
ceTe.DynamicPDF.PageElement
ceTe.DynamicPDF.PageElements.Group
public class TransformationGroup : Group, IArea, ICoordinate, IEnumerable, IPageElementContainer
Remarks
Example
[Visual Basic]
Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.PageElements
Module MyModule
Sub Main()
' Create a PDF Document
Dim MyDocument As Document = New Document
' Create a Page and add it to the document
Dim MyPage As Page = New Page
MyDocument.Pages.Add(MyPage)
' Create a transformation group and add a rectangle and a label to it
Dim MyGroup As TransformationGroup = New TransformationGroup(100, 100, _
200, 200, 30)
MyGroup.Add(New Rectangle(0, 0, 75, 75, Color.Blue, Apply.Fill))
MyGroup.Add(New Label("This text is inside a TransformationGroup.", 0, _
100, 300, 12))
' Vertically scale the group
MyGroup.ScaleY = 2
' Add the transformation group to the page
MyPage.Elements.Add(MyGroup)
' Save the PDF
MyDocument.Draw("C:\MyDocument.pdf")
End Sub
End Module
[C#]
using System;
using ceTe.DynamicPDF;
using ceTe.DynamicPDF.PageElements;
class MyClass
{
static void Main()
{
// Create a PDF Document
Document document = new Document();
// Create a Page and add it to the document
Page page = new Page();
document.Pages.Add( page );
// Create a transformation group and add a rectangle and label to it
TransformationGroup group = new TransformationGroup( 100, 100, 200,
200, 30 );
group.Add( new Rectangle( 0, 0, 75, 75, Color.Blue, Apply.Fill ) );
group.Add( new Label( "This text is inside a TransformationGroup.",
0, 100, 300, 12 ) );
// Vertically scale the group
group.ScaleY = 2;
// Add the transformation group to the page
page.Elements.Add( group );
document.Draw( @"C:\MyDocument.pdf" );
}
}
Requirements
Namespace: ceTe.DynamicPDF.PageElements Namespace
Assembly: DynamicPDF.Generator.[Edition].dll
See Also
TransformationGroup members | ceTe.DynamicPDF.PageElements Namespace

