Software Developer's Kit - ChemDraw

Send comments on this topic
GraphicsOutputBorder Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the amount of white space added around the edges of graphic files when saved.

Property type

Read-write property

Syntax

Visual Basic
Public Property GraphicsOutputBorder() As Long

Return Type

Long

Remarks

Sets and returns the amount of white space added around the edges of graphic files when saved, expressed in TWIPS, which is a unit of measurement in the printing industry (equal to 1/1440 of an inch).

Example

'Modifies a value of preferences 
 Private Sub cmdApplication_click()
     ctlChemDraw.ActiveDocument.Activate
     Dim myApp As ChemDrawControl11Ctl.Application
     Set myApp = ctlChemDraw.Application
     myApp.Preferences.GraphicsOutputBorder = 100
 End Sub

See Also