Sets the watermark image used for renders of this SIS Workspace Definition (SWD) in GeognoSIS.
Visual Basic |
---|
Public Function SetWatermark( _
ByVal watermark As String, _
ByVal mode As Integer, _
) As Integer
|
Public Const SIS_WATERMARK_JUSTIFY_TOPLEFT = 0 |
Public Const SIS_WATERMARK_JUSTIFY_TOPRIGHT = 1 |
Public Const SIS_WATERMARK_JUSTIFY_BOTTOMLEFT = 2 |
Public Const SIS_WATERMARK_JUSTIFY_BOTTOMRIGHT = 3 |
Public Const SIS_WATERMARK_JUSTIFY_CENTERED = 4 |
Public Const SIS_WATERMARK_JUSTIFY_SCALEDTOFIT = 5 |
Public Const SIS_WATERMARK_USE_GLOBAL = 0 |
Public Const SIS_WATERMARK_USE_SWD = 256 |
Public Const SIS_WATERMARK_USE_CUSTOM = 512 |
Description of the Use flags:
Both "watermark$" and "ASwdWatermark$" refer to the name of a NOL named item.
The flags are defined in the GeognoSIS programming (constants) file.
Available: GEO
Group:
sis.SetWatermark "C:\IMAGE.PNG", 0
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).