Aligns coordinates of the point and bitmap to the JPEG sample size.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Function AlignToSampleSize ( _ offset As Point, _ bitmap As Bitmap _ ) As Rectangle
Type: System.Drawing.Point
Point at which the bitmap should be placed. It will be used as a location of left top corner of the input rectangle.Type: Aurigma.GraphicsMill.Bitmap
Bitmap class instance which specifies a bitmap. Its width and height will be used as dimensions of the input rectangle.