See Also

Line Members

Description

Represents a line.

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

Remarks

This class can be used to place lines of different length, width, color and patterns on a page.

Interfaces

Implemented InterfaceDescription
Object 

Example

[ASP - VBScript] 

<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"--> 
<% 
    ' Create a PDF Document 
    Dim MyDocument 
    Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )  
    ' Create a Page and add it to the document 
    Dim MyPage  
    Set MyPage = MyDocument.AddPage() 
    Dim MyLine1 
    Dim MyLine2 
    ' Line Width of 2 and Color Medium Blue 
    Set MyLine1 = MyPage.AddLine( 100, 50, 300, 250, 2, "0000CD" ) 
    Set MyLine1 = MyPage.AddLine( 100, 250, 300, 50, 2, "0000CD" ) 
    ' Draw the PDF 
    MyDocument.DrawToWeb 
    Set MyPage = Nothing 
    Set MyDocument = Nothing 
%> 
 

See Also

Line Members

 

 


© Copyright 2007, ceTe Software