See Also

Group Members

Description

Represents a group of page elements.

For a list of all members defined in this module, see Group members.

Object Model


























































Remarks

This class can be used to collect many page elements together and add them to the page all at once. Every page element that you add to the group will be added to the page when the group is added to the page.

Interfaces

Implemented InterfaceDescription
Object 

Example

[ASP - VBScript] 

<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"--> 
 <% 
    Dim MyDocument  
    Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )  
    Dim MyPage  
    ' Create a Page and add it to the document 
    Set MyPage = MyDocument.AddPage() 
    Dim MyGroup 
    ' Create a Group ad Add the Group to the Area Group 
    Set MyGroup = MyPage.AddGroup() 
    ' Add page elements to the group  
    Dim MyRectangle 
    Set MyRectangle = MyGroup.AddRectangle( 50, 50, 150, 50, "E9967A","00008B", 1, , DPDF_ApplyColor_Both ) 
    Dim MyLine 
    Set MyLine = MyGroup.AddLine( 220, 70, 290, 70, 2, "800000", DPDF_LineStyle_Dots ) 
    Dim MyGroupCircle 
    Set MyGroupCircle = MyGroup.AddCircle( 350, 70, 50 ) 
    MyGroupCircle.FillColor = "8B4513" 
    MyGroupCircle.BorderColor = "4169E1" 
    MyGroupCircle.Apply = DPDF_ApplyColor_Both 
    ' Draw the PDF 
    MyDocument.DrawToWeb 
    Set MyPage = Nothing 
    Set MyDocument = Nothing 
%> 

See Also

Group Members

 

 


© Copyright 2007, ceTe Software