|
Description
|
Returns/sets the X coordinate (in drawing units) of the picture lower-left corner.
|
Syntax Visual Basic
|
[form.]DXFReader.PictureBaseX[ = Value!]
|
|
Visual C++
|
float DXFReader.GetPictureBaseX(); void DXFReader.SetPictureBaseX(float NewValue);
|
|
Delphi
|
property PictureBaseX: Single;
|
|
C#
|
float DXFReader.PictureBaseX;
|
|
Remarks
|
Use this property to translate the overlay picture respecting the drawing.
To understand how this property works let's examine the following picture:

This picture is a bitmap image 200 x 200 Pixels size. The figure below shows a DXFReader control displaying a simple drawing containing a square with 200 x 200 units size and its lower-left corner with coodinates (0,0), and a circle with center in (100,100) and radius of 100.

Setting PictureScaleMode = Pixel every single pixel of the picture will be one drawing unit long so merging the bitmap image with the previous drawing will show the following picture.

Setting PictureBaseX = 100 and PictureBaseY = 100 will translate the bitmap image as showed in the following picture.
|
|
Data Type
|
Single
|
|
Default Value
|
0
|