Avax Vector ActiveX (OCX) v1.3 Retail - View, create, edit, print, and manage 2D vector drawings.

Avax Vector ActiveX (OCX) v1.3 Retail

Avax Vector ActiveX (OCX) v1.3 Retail
Avax Vector ActiveX (OCX) v1.3 Retail


View, create, edit, print, and manage 2D vector drawings. AVAX is an ActiveX control (OCX) that includes over 500 properties, methods, and events to provide full control over vector drawings. AVAX also includes standard geometric shapes - line, point, polyline, circle, ellipse, etc. - as well as polygon shapes filled with any kind of pattern, such as AutoCAD® .PAT files, Bitmaps, animations, etc. You can export images to virtually any image type, including DWG, DXF, SVG, SWF, PLT, PIC, PDF, XML, RTF and WMF.

Features
Standard geometric drawing items (Line, Point, Polyline, Arc, Circle, Ellipse, Polygon, Bezier, etc).
Text with Windows based fonts.
Polygon shapes filled with any kind of patterns (AutoCAD® .PAT files, API solid or pattern, Bitmaps, animations etc). Shapes have z order .
Blocks creation and insertion.
Color Palette, Layers, Width, Font table, Line and Point types.
Zoom Window, Extends, Dynamic, Pan, All and Previous.
Select (Window, In Window, All, Select Add-Sub) .
Grid and Snap.
Every drawing object has Handle, KeyName and it’s own Properties (string array).
Copy, Array, Move, Scale, Rotate, Mirror, Transform etc.
Interactive graphics by using a Selection Region.
Snap to end line, nearest, middle, intersection, perpendicular etc.
Trim, Fillet, Extend, Offset and Hatch with lines.
Dimensions and Angles.
Insertion bitmaps and files (BMP, JPEG, ICO, WMF, PCX, SHP, RTF).
Insertion drawings (AutoCAD®, DWG, DXF) .
Export to DWG, DXF, SVG, SWF, PLT, PIC, BMP, WMF, PDF, XML and RTF. (Notice: Open Design Alliance's ODX.DLL component required for DWG Import/Export. This component is available by license only).
Clipboard Copy, Cut and Paste.
Measure distance and area.
Print fit to page on multiple pages.
Print to any hDC. Print Preview.
Undo/Redo command in every action (3000 Undo /1 Redo).
230 Events, Methods and Properties with their source code examples.
165 ready to use drawing Commands and 110 drawing Parameters.
Events like BeforeClick, SelectChange, BeforeCopy, BeforeMove, ZoomChange etc.
Horizontal and/or vertical scroll bars and rulers.
External files to customize Messages, Line Types, Font Table, Color Palette etc.
Avax Controls (Button, TextBox, ComboBox, CheckBox, CheckOption, PictureBox, Label, Form)

Properties

- AutoRedraw: When this property is False AVAX executes the drawing commands in the background. After the background execution of the some commands you must set Autodraw to be True if you want AVAX to appear the new drawing
- BackColor: Background RGB color of the AVAX window
- BorderStyle: Defines the border style for the AVAX window
- Command: Sets a ready made AVAX command
- ContinueUndo: When this property is True then the program adds to the undo list all subsequent commands. Upon the execution of the last command you must set this property to False. If the AvaxCommand.Undo_c is executed with the use of property Command then all the previous commands in the undo list are undone
- Enabled: Returns or sets a value that determines whether control AVAX can respond to user-generated events
- Filename: Is the file name of the drawing. The control goes into effect when a file name is given or with the command StartAvax
- FontBold: Sets or returns the current Font Bold status
- FontCharset: Sets or returns the current Font Charset value
- FontItalic: Sets or returns the current Font Italic status
- FontName: This property contains the default font that the AVAX uses when a Font Table is not set
- FontSize: Sets or returns the current Font Size value (unused)
- FontStrikethrough: Sets or returns the current Font Strikethrough status
- FontUnderline: Sets or returns the current Font Underline status
- Height: Sets or returns the height of the AVAX window
- IsChanged: Informs that the drawing has changed since it has been opened
- Language: Sets or returns a value that determines the AvaxLanguage
- LastHandle: Returns the last handle
- LockEdit: Locks drawing editing
- PauseAvax: Pauses the program AVAX
- PauseAvaxEvents: When this property is True then AVAX stops sending events
- Pen3DElevetion: Sets or returns a value that determines the pen's elevation.
- Pen3DHeight: Sets or returns a value that determines the pen's height.
- PenFontNumber: Sets or returns a value that determines the pen's font number.
- PenFontScale: Sets or returns a value that determines the pen's Font Scale factor.
- PenLayer: Sets or returns a value that determines the pen's layer.
- PenLineStyle: Sets or returns a value that determines the pen's line style.
- PenLineStyleScale: Sets or returns a value that determines the pen's linetype scale factor.
- PenPointRadius: Sets or returns a value that determines the number of points for drawing arcs, ellipses and circles
- PenPointStyle: Sets or returns a value that determines the point style.
- PenWidth: Sets or returns a value that determines the pen's width.
- ScrollBars: Returns or sets a value indicating whether object AVAX has horizontal or vertical scroll bars
- SnapToStepStatus: Sets or returns the Snap status
- SnapToStepX: Sets or returns the snap x distance
- SnapToStepY: Sets or returns the snap y distance
- UndoRecorderOn: Sets or returns the Undo Recorder status
- UserName: Returns the control's user name
- UserSerialNumber: Returns the control's serial number
- Width: Sets or returns the width of the AVAX window
- hdc: Returns the hDC of the AVAX control
- hwnd: Returns the hWnd of the AVAX window
- pencolor: Sets or returns a value that determines the pen's color (number from 0 to 255).

Methods

- AbortPrinting: Provokes abort printing
- ActionInProgress: Informs that an action is in progress
- Add_AVX: This function inserts an .AVX file into the drawing
- Add_AllDimensions: This function adds the dimensions for all the existing nodes of the drawing
- Add_Arc: This function adds an arc into the drawing
- Add_Bezier: This function adds a Bezier curve by a specific polygonal base guide with continous apexes
- Add_Block: This function adds a block into the drawing
- Add_BlockLines: This function adds straight line segments not necessarly continous
- Add_CBSpline: This function adds a closed B-Spline curve with an open vector node by a specific polygonal base guide with continous apexes
- Add_CSpline1: This function adds a cubic Spline curve with a fixed endpoint by a specific polygonal base guide with continous apexes
- Add_CSpline2: This function adds a cubic Spline curve with a free endpoint by a specific polygonal base guide with continous apexes
- Add_Circle: This function adds a circle into the drawing
- Add_DWG: This function inserts a .DWG file into the drawing
- Add_DXF: This function inserts a .DXF file into the drawing
- Add_dаta: This function adds a non-drawing object in which you can put any data. This object is saved in the .AVX file just like all the other drawing objects
- Add_Dim: This function adds a linear dimension into the drawing
- Add_Ellipse: This function adds an ellipse into the drawing
- Add_ExternalLines: This function adds a key name for external lines. The coordinates of these external lines are given when the event SetExternalLines is triggered
- Add_Line: This function adds a straight line segment
- Add_OBSpline: This function adds a B-Spline curve with an open vector node by a specific polygonal base guide with continous apexes
- Add_PCX: This function inserts a .PCX file into the drawing
- Add_PLT: This function inserts a .PLT file into the drawing
- Add_Picture: This function inserts picture file(s) (.BMP, .ICO, .GIF and .JPG) into the drawing
- Add_Point: This function adds a point into the drawing
- Add_PolyLine: This function adds a polyline into the drawing
- Add_RTF: This function inserts a .RTF (Rich Text Format) document into the drawing
- Add_Rectangle: This function adds a rectangle into the drawing
- Add_SHP: This function inserts a .SHP file into the drawing
- Add_SVG: This function inserts a .SVG file into the drawing
- Add_Shape: This function adds a closed polygon shape with a specific fill type and z order
- Add_ShapeArc: This function adds a closed arc shape with a specific fill type and z order
- Add_ShapeCircle: This function adds a circle with a specific fill type and z order
- Add_ShapeEllipse: This function adds an ellipse with a specific fill type and z order
- Add_ShapeLine: This function adds a line segment. The difference from add_Line is that this line segment has z order
- Add_ShapePoint: This function adds a point. The difference from add_Point is that this point has z order
- Add_ShapePolyLine: This function adds a polyline. The difference from add_Polyline is that this polyline has z order
- Add_ShapeRectangle: This function adds a rectangle with a specific fill type and z order
- Add_ShapeRegularPolygon: This function adds a regular polygon shape with a specific fill type and z order
- Add_ShapeText: This function adds a text. The difference from add_Text is that this text has z order
- Add_Text: This function adds a text into the drawing
- Add_TextFile: This function adds a text File into the drawing
- Add_WMF: This function inserts windows metafile(s) .WMF into the drawing
- AlignItem: Aligns a drawing object to a specific parallelogram area in accordance with an align parameter
- ChangeColor: Changes the color of the objects described in a specific handles array
- ChangeElevation3D: Changes the 3D elevation of the objects described in a specific handles array
- ChangeFontNumber: Changes the font nunber of a text object
- ChangeHeight3D: Changes the 3D height of the objects described in a specific handles array
- ChangeLayer: Changes the layer of the objects described in a specific handles array
- ChangeLineStyle: Changes the line style of the linear objects described in a specific handles array
- ChangePointStyle: Changes the point style of the point objects described in a specific handles array
- ChangeShapeText: Changes the text of a ShapeText object with a specific handle and returns a new handle
- ChangeShapezOrder: Changes the z order of the shape object with a specific handle
- ChangeText: Changes the text of a text object
- ChangeWidth: Changes the width of the objects described in a specific handles array
- ClearUndoRedoMemory: Clears the undo/redo memory
- ComparePolygons: Compares a shape polygon with an other one
- CopyItems: Copies the objects described in a specific handles array to a relative x and y distance
- CopyToClipboard: Copies objects to the Clipboard
- Copy_Avax: Creates a Avax clipboard copy for the specific handles array
- CreateACADHatchPattern: Creates a string with the required facts to be provided to the parameter Fill_sPattern of the commands add_ShapeXXXX when Fill_iType=AvaxFillType.PatACAD_f
- CreateACADLineStyleString: This function returns a string that contains the linetype name and data from an external Autocad .LIN filesStyleFile=Is the name of the Autocad .LIN file
- CreateBlock: Creates a block
- CreateExVectorHatchPattern: Creates a string with the required facts to be provided to the parameter Fill_sPattern of the commands add_ShapeXXXX when Fill_iType=AvaxFillType.ExVector_f
- CreatePatternFlags: Creates a Long to be provided to the parameter Fill_lFlags of the commands add_ShapeXXXX
- CreateVectorHatchPattern: Creates a string with the required facts to be provided to the parameter Fill_sPattern of the commands add_ShapeXXXX when Fill_iType=AvaxFillType.Vector_f
- CurrentRedo: Returns the number of redos available and the type of the latest redo
- CurrentUndo: Returns the number of undos available and the type of the latest undo
- CurrentXY: Returns the drawing coordinates of the mouse pointer's position.
- DeleteAllItems: Deletes all the objects in the drawing
- DeleteAvaxFile: Deletes the .AVX file
- DeleteItems: Deletes the objects described in a specific handles array
- DestroyDrawing: This method erases all the drawing objects and the undo/redo buffer
- DoAvaxAction: Executes an AVAX Command to some objects described in a specific handles array
- FindHandlesArrByKey: Finds the handles of the objects that contain a specific string in their key names
- FitToAvax: Enlarges the drawing extents to fit all the objects in the drawing
- GetAllHandlesArr: Returns with the number and the handles of all the objects of the current drawing
- GetAllNodes: Returns all the existing nodes of the current drawing
- GetArea: Estimates the area of an object
- GetAttributes: Returns the attributes of the objects described in a specific handles array
- GetAvaxEvents: This function forces the control to send all the events
- GetAvaxProperty: Returns the value of a specific AVAX property (AvaxProp)
- GetAvaxStatus: Returns with the status of AVAX
- GetBorder: Gets the border of an object
- GetBoundsAvax: Returns with the drawing extents of the total work area of the drawing
- GetBoundsDrawing: Returns with the drawing extents
- GetBoundsSelectBox: Returns the coordinates of the select box pointer
- GetBoundsSelectedItems: Returns the perimetric frame extents of the selected objects
- GetBoundsZoom: Returns with the drawing extents of the current zoom
- GetFonts: This function returns the total number, names and character sets of all the fonts
- GetHandleKey: Returns the key name of the object with the specific handle
- GetHandlesArrByKeyArr: Returns the number and the handles of all the objects that have key names included to a specific string arraysKeys()=An array of Strings for the key names
- GetHandlesByKey: Returns the number and the handles of all the objects that have the specific key name
- GetHandlesUnderArea: Returns with the number and the handles of the objects inside a specific parallelogram area
- GetHandlesUnderSelectCursor: Returns with the number and the handles of the objects below the selection pointer
- GetKeyArrByHandlesArr: Returns the key names that correspond to a specific handles array
- GetLayers: Gets the names and status for all the drawing layers
- GetLineStyle: This function returns the linetype name and data for a specific line type index
- GetLineStyleNames: This function returns the total number and the names of the line types
- GetLineStyles: This function returns the total number and the data of the line types
- GetPalColor: This function returns the RGB color associated with the position (index) of the current color palette
- GetPalette: This function returns the total number and the RGB colors of the current color palette
- GetPerimeter: Estimates the perimeter of an object
- GetPictureSize: Returns the width and the height (in drawing units) of the picture that is in a specific picture file
- GetProperties: Returns the properties of the objects described in a specific handles array
- GetSelectRegionBorders: Returns the extents of the SelectRegion
- GetSelectedHandlesArr: Returns the total number and the handles of the selected objects
- GetSelectedPoints: Returns the coordinates and the number of points selected by the activation of the Select Points process with the method SelectPoints or the setting property Command=AvaxCommand.selectv_c
- GetShapeText: Returns the text of a ShapeText object with a specific handle
- GetShapezOrder: Returns the z order of a shape object with a specific handle
- GetText: Returns the text of a text object with a specific handle
- GetTextAttributes: Gets the Text attributes
- GetTextFontNumber: Returns the font number of a text object with a specific handle
- IsSelected: Informs if something is selected
- IsSelectedItem: Returns the select status for an object associated with a specific handle
- LineStyleIndexByName: This function returns the line type index based on a specific line type name
- LoadACADLineStyles: Loads line types from an Autocad external .LIN file
- LoadFonts: Loads the font table from a external AVAX font file
- LoadLineStyles: Loads line types from an external AVAX line type file
- LoadPalette: This function loads a color palette from an external .PAL file
- LongToSingle: Changes the window coordinates (long) into the drawing coordinates (single) respectively
- MaxItems: Returns with the total number of objects in the drawing
- MirrorItems: Mirror copies the objects described in a specific handles array based on a specific mirror line segment
- MoveItems: Moves the objects described in a specific handles array by a relative x and y distance
- NearestPaletteIndexColor: This function returns the index to the current color palette with a RGB color which matches or looks like the specific RGB color
- PasteFromClipboard: Imports into the drawing the contents of the Clipboard
- Paste_Avax: Imports into the drawing the contents of an Avax Clipboard bytes array
- PrintToBMP: Exports the drawing into a .BMP file
- PrintToDWG: Exports the drawing into a .DWG file
- PrintToDXF: Exports the drawing into a .DXF file
- PrintToJPG: Exports the drawing into a .JPG file
- PrintToPIC: Exports the drawing into a .PIC file
- PrintToPLT: Exports the drawing into a .PLT file
- PrintToPrinter: Prints the drawing into a printer
- PrintToRTF: Exports the drawing into a .RTF file
- PrintToSVG: Exports the drawing into a .SVG file
- PrintToWMF: Exports the drawing into a .WMF file
- PrintTohDC: Prints the drawing into a hDC
- RedrawItems: Redraws the objects described in a specific handles array
- RotateItems: Rotates the objects described in a specific handles array with a specific rotation base point and rotation angle
- SaveAs: Saves the drawing with another .AVX file name
- SaveFonts: Saves the font table to a external font file
- SaveLineStyles: Saves the current line types data to an external file
- SavePalette: Saves the current palette to an external palette file
- ScaleItems: Scales the objects described in a specific handles array
- SelectItems: Selects objects with handles described in a specific handles array
- SelectPoints: Activates the Select Points process with a specific key and the number of the points to be selected
- SetAvaxProperty: Sets the value of a specific AVAX property (AvaxProp)
- SetBoundsAvax: Define the drawing extents of the total work area of the drawing
- SetBoundsDrawing: Sets the drawing extents
- SetBoundsStretch: Define the parallelogram of the stretch window border before the use of Command=AvaxCommand.Stretch_c
- SetBoundsZoom: Define the drawing extents of the zoom window
- SetFonts: Defines all the font names and their associated font character sets
- SetHandleKey: Sets the key name of the object with the specific handle
- SetLayers: Sets the names and status for all the drawing layers
- SetLineStyle: This function sets the line type name and data for the specific line type index
- SetLineStyles: This function assigns all the line type names and data
- SetPalColor: This function assigns the RGB color to an integer position (index) in the current color palette.
- SetPalette: Assigns all the RGB colors of the current color palette
- SetProperties: Changes the drawing properties of the objects described in a specific handles array
- SetSVGPalette: Assigns the SVG's RGB colors to the current color palette
- SetSelectFilter: Define before the selection what objects will be selected based on a specific filter
- SetSelectRegionBoundingBox: Define a parallelogram region where changes to the SelectRegion window are permitted
- SingleToLong: Changes the drawing coordinates (single) into the window coordinates (long) respectively
- SnapToStepSet: Turns Snap On
- StartAvax: This function starts the use of AVAX control. If a file name is not given, then a temporary file is created in the Windows Temp directory. Alternatively, the AVAX control can start by inputing a value in the property Filename
- StretchItems: Stretches the objects described in a specific handles array by the same proportion that a specific parallelogram has been changed from its original coordinates to new changed coordinates
- TransformItems: Transforms the objects described in a specific handles array
- UnitX: Returns the width of one pixel (in drawing units) of the current zoom
- UnitY: Returns the height of one pixel (in drawing units) of the current zoom
- CalcBoundsDrawing: Calculates the new drawing extents created after the insertion of new or deletion of existing objects
- DirsGet: Returns the directories which contains the AVAX support, drawing and block files
- DirsSet: Sets the directories which contains the AVAX support, drawing and block files
- Draw_Line: Draws a straight line segment without including it in the current drawing
- EndAvax: Closes the AVAX file and sets the control to its initial setting
- GetFontName: Returns the font name and the character set for the specific font table index
- Refresh: Redraws all the objects that are viewed in the current zoom
- SetFontName: Sets the font name and the character set for the specific font table index

Events

- BeforeClick: Occurs when the user presses and then releases a mouse button in the drawing
- BeforeCopy: This event occurs before some objects are copied to a relative new location
- BeforeMirror: This event occurs before some objects are mirror copied by a specific mirror line
- BeforeMove: This event occurs before some objects are moved to a relative new location
- BeforeRotate: This event occurs before some objects are rotated with a rotation center point and a rotation angle
- BeforeScale: This event occurs before some objects are scaled with a scale base point and a scale magnifying factor
- BeforeTransform: This event occurs before some objects are transformed based on a 3x3 transformation array
- Change: Occurs when a change is made in the drawing. That can be the creation of a new object, the deletion of an object, etc.
- Click: Occurs when the user presses and then releases a mouse button over AVAX
- DblClick: Occurs when the user presses and releases a mouse button and then presses and releases it again over AVAX
- DrawingRepainted: This event occurs when the current drawing in the window is repainted and returns the handles of the objects that have been repainted
- EnterFocus: Occurs when focus enters the object AVAX
- ExitFocus: Occurs when focus leaves the object AVAX
- Hide: Occurs when the object's AVAX Visible property changes to False
- HitTest: Occurs when the user moves the mouse over AVAX
- KeyDown: Occurs when the user presses a key from the keyboard when AVAX has the focus
- KeyPress: Occurs when the user presses and releases a key from the keyboard when AVAX has the focus
- KeyUp: Occurs when the user releases a key from the keyboard when AVAX has the focus
- MouseDown: Occur when the user presses a mouse button over AVAX
- MouseIn: Occurs when the mouse pointer is going in the drawing area
- MouseMove: Occurs when the user moves the mouse over AVAX
- MouseOut: Occurs when the mouse pointer is going out of the drawing area
- MouseStop: Occurs when the mouse pointer in the drawing area stops moving
- MouseUp: Occur when the user releases a mouse button over AVAX
- NewUserItems: The event returns with the handles of the new objects that have been created with the use of the property Command
- OLECompleteDrag: Occurs when a source component is dropped onto a target component, informing the source component that a drag action was either performed or canceled
- OLEDragDrop: Occurs when a source component is dropped onto a target component when the source component determines that a drop can occur
- OLEDragOver: Occurs when one component is dragged over another
- OLEGiveFeedback: Occurs after every OLEDragOver event. OLEGiveFeedback allows the source component to provide visual feedback to the user, such as changing the mouse cursor to indicate what will happen if the user drops the object, or provide visual feedback on the selection (in the source component) to indicate what will happen
- OLESetdаta: Occurs on an source component when a target component performs the GetData method on the source’s DataObject object, but the data for the specified format has not yet been loaded
- OLEStartDrag: Occurs when a component's OLEDrag method is performed, or when a component initiates an OLE drag/drop operation when the OLEDragMode property is set to Automatic
- Paint: Occurs when part or all of object AVAX is exposed after being moved or enlarged, or after a window that was covering the object AVAX has been moved
- PrintingPage: This event occurs when a page is being printed and returns the number of the current printing page and the number of the total pages to be print
- Resize: Occurs when object AVAX has been resized
- SelectChange: This event occurs when a new selection or unselection is done and returns the handle of the last selected object
- SelectRegionStretch: This event occurs when the SelectRegion window is changing and returns the handles of the selected objects that will be transformed
- SelectedPoints: This event is related with the command SelectPoints which has been used in the drawing to select points with a specific key name. When a selection of every point is executed this event is triggered
- SetExternalLines: This event is related with the command Add_ExternalLines which has been used in the drawing to create external lines with a specific key name. When this event is triggered you can give the coordinates of the external lines
- Show: Occurs when the object's AVAX Visible property changes to True
- ZoomChange: This event occurs when the current zoomed view is changed and returns with the coordinates of the new window viewport



Only for V.I.P
Warning! You are not allowed to view this text.