ImageGear for .NET
ImGearARTPoint Class
Members  Example 




Represents ART Point mark.
Object Model
ImGearARTPoint ClassImGearRectangle StructureIImGearRGBQuad InterfaceImGearRectangle Structure
Syntax
'Declaration
 
Public Class ImGearARTPoint 
   Inherits ImGearARTMark
   Implements IImGearARTPoint 
'Usage
 
Dim instance As ImGearARTPoint
public class ImGearARTPoint : ImGearARTMark, IImGearARTPoint  
public __gc class ImGearARTPoint : public ImGearARTMark, IImGearARTPoint  
public ref class ImGearARTPoint : public ImGearARTMark, IImGearARTPoint  
Example
// Setup location for the point
ImGearPoint igPoint = new ImGearPoint(igPage.DIB.Width / 2, igPage.DIB.Height / 2);
// Setup color for the point.
ImGearRGBQuad igRGBQuad = new ImGearRGBQuad(0, 255, 0);
// Create the point annotation with a width of 10 and 60% opacity
ImGearARTPoint igARTPoint = new ImGearARTPoint(
    igPoint, igRGBQuad, 10, (int)(0.60 * 255)
);
// Add the annotation to the ARTPage.
igARTPage.AddMark(igARTPoint, ImGearARTCoordinatesType.IMAGE_COORD);
' Setup location for the point
Dim igPoint As New ImGearPoint(igPage.DIB.Width / 2, igPage.DIB.Height / 2)
' Setup color for the point.
Dim igRGBQuad As New ImGearRGBQuad(0, 255, 0)
' Create the point annotation with a width of 10 and 60% opacity
Dim igARTPoint As New ImGearARTPoint( _
 igPoint, igRGBQuad, 10, CInt(0.6 * 255))
' Add the annotation to the ARTPage.
igARTPage.AddMark(igARTPoint, ImGearARTCoordinatesType.IMAGE_COORD)
Inheritance Hierarchy

System.Object
   ImageGear.ART.ImGearARTSelection
      ImageGear.ART.ImGearARTMark
         ImageGear.ART.ImGearARTPoint

See Also

Reference

ImGearARTPoint Members
ImageGear.ART Namespace

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback