Accusoft ImagXpress 12
Persistence Property
See Also  Send comments on this topic.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : Persistence Property

Glossary Item Box

Description

Gets and sets the property persistence flag.

Property Type

Read-write property

Syntax

Visual Basic
Public Property Persistence As Boolean

Return Type

True to persist control properties from design time.

False should be used and control properties set at design time are not maintained at runtime.

Remarks

When the Persistence property is True (Default), control properties set at design time are maintained at run time. In Visual Basic, the control's property values are stored in the .FRM file. In ActiveX Control Pad, the property values are stored in the .ALX file. If you have many ImagXpress controls in your project, the size of the .ALX or .FRM files can become quite large because many property values are stored for each control.

  • For Internet applications, you want to keep your .HTM and .ALX file size as small as possible. You can accomplish this by setting the Persistence property to False, then set your control properties at run time instead of design time. This will decrease the size of the .ALX file because you are only setting the properties you desire.

If the Persistence property is set to False, the properties that you set at design time will not be maintained when you run your application.

See Also

ImagXpress Object  | ImagXpress Members  | Window and Control

©2013. Accusoft Corporation. All Rights Reserved.