Add a region on the current page of the displayed document.
public int AddRegionInches( String Name, Single Left, Single Top, Single Width, Single Height, ForegroundMixMode MixMode, Color RegionColor );
Public Function AddRegionInches( ByVal Name As String, ByVal Left As Single, ByVal Top As Single, ByVal Width As Single, ByVal Height As Single, ByVal MixMode As ForegroundMixMode, ByVal RegionColor As Color ) As Integer
|
Parameters |
Description |
|
Name |
The name of the region. Can be an empty string. |
|
Left |
Left position in inches of the region on the page. |
|
Top |
Top position in inches of the region on the page. |
|
Width |
Width, in inches, of the rectangle of the region on the page. |
|
Height |
Height, in inches, of the rectangle of the region on the page. |
|
MixMode |
A member of the ForegroundMixMode enumeration. Specifies the foreground mix mode to use to combine the region and the displayed image. |
|
RegionColor |
Color Object. You can build a Color Object using the ARGB() function. Color used to fill the rectangle. |
The ID of the added region.
Call the Redraw function to display the created region on the viewer.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|