Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal canvasImage As RasterImage, _ ByVal transparency As Integer, _ ByVal emboss As Integer, _ ByVal xOffset As Integer, _ ByVal yOffset As Integer, _ ByVal tileOffset As Integer, _ ByVal flags As CanvasCommandFlags _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public CanvasCommand( RasterImage canvasImage, int transparency, int emboss, int xOffset, int yOffset, int tileOffset, CanvasCommandFlags flags ) |
Managed Extensions for C++ | |
---|---|
public: CanvasCommand( RasterImage canvasImage, int transparency, int emboss, int xOffset, int yOffset, int tileOffset, CanvasCommandFlags flags ) |
C++/CLI | |
---|---|
public: CanvasCommand( RasterImage canvasImage, int transparency, int emboss, int xOffset, int yOffset, int tileOffset, CanvasCommandFlags flags ) |
Parameters
- canvasImage
- References the canvas image.
- transparency
- The transparency amount between the image and the canvas. Valid range is from 0 to 100. When set to 0, only the canvas image displays, and when set to 100, the canvas image is barely visible.
- emboss
- Apparent depth of the canvas image. Valid range is from 0 to 200. When Transparency is at 100, and Emboss is 0 only the image displays. Increasing Emboss increases the apparent depth of the canvas image.
- xOffset
- The X distance between the canvas origin point and the image origin point (in pixels). Valid range is from -Canvas image width to +Canvas image width.
- yOffset
- The Y distance between the canvas origin point and the image origin point (in pixels). Valid range is from -Canvas image height to +Canvas image height.
- tileOffset
- The amount to shift every row of the canvas image from the origin. This parameter is not used when Flags is set to CanvasCommandFlags.TileFit.
- flags
- Flags that identifiy how to distribute the canvas image with respect to the image and how to handle resizing.
Visual Basic | Copy Code |
---|---|
ImageProcessing.SpecialEffects.CanvasCommand.CanvasConstructor_S2 |
C# | Copy Code |
---|---|
ImageProcessing.SpecialEffects.CanvasCommand.CanvasConstructor_S2 |
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family