Image Object Members

Access Developer Reference

This object corresponds to an image control. The image control can add a picture to a form or report. For example, you could include an image control for a logo on an Invoice report.

Methods

  Name Description
Bb257397.methods(en-us,office.12).gif Move Moves the specified object to the coordinates specified by the argument values.
Bb257397.methods(en-us,office.12).gif Requery The Requery method updates the data underlying a specified control that's on the active form by requerying the source of data for the control.
Bb257397.methods(en-us,office.12).gif SetFocus The SetFocus method moves the focus to the specified form, the specified control on the active form, or the specified field on the active datasheet.
Bb257397.methods(en-us,office.12).gif SizeToFit You can use the SizeToFit method to size a control so it fits the text or image that it contains.

Properties

  Name Description
Bb257397.properties(en-us,office.12).gif Application You can use the Application property to access the active Microsoft Access Application object and its related properties. Read-only Application object.
Bb257397.properties(en-us,office.12).gif BackColor Gets or sets the interior color of the specified object. Read/write Long.
Bb257397.properties(en-us,office.12).gif BackStyle You can use the BackStyle property to specify whether a control will be transparent. Read/write Byte.
Bb257397.properties(en-us,office.12).gif BorderColor You can use the BorderColor property to specify the color of a control's border. Read/write Long.
Bb257397.properties(en-us,office.12).gif BorderStyle Specifies how a control's border appears.Read/write Byte.
Bb257397.properties(en-us,office.12).gif BorderWidth You can use the BorderWidth property to specify the width of a control's border. Read/write Byte.
Bb257397.properties(en-us,office.12).gif BottomPadding Gets or sets the amount of space (in inches) between the image control and its bottom gridline. Read/write Integer.
Bb257397.properties(en-us,office.12).gif Controls Returns the Controls collection of a form, subform, report or section. Read-only Controls.
Bb257397.properties(en-us,office.12).gif ControlTipText You can use the ControlTipText property to specify the text that appears in a ScreenTip when you hold the mouse pointer over a control. Read/write String.
Bb257397.properties(en-us,office.12).gif ControlType You can use the ControlType property in Visual Basic to determine the type of a control on a form or report. Read/write Byte.
Bb257397.properties(en-us,office.12).gif DisplayWhen You can use the DisplayWhen property to specify which of a form's controls you want displayed on screen and in print. Read/write Byte.
Bb257397.properties(en-us,office.12).gif EventProcPrefix Gets or sets the prefix portion of an event procedure name. Read/write String.
Bb257397.properties(en-us,office.12).gif GridlineColor Gets or sets the color of the gridline for the specified image control. Read/write Long.
Bb257397.properties(en-us,office.12).gif GridlineStyleBottom Gets or sets the bottom gridline style of the specified image control. Read/write Byte.
Bb257397.properties(en-us,office.12).gif GridlineStyleLeft Gets or sets the width of the bottom gridline for the specified image. Read/write Byte.
Bb257397.properties(en-us,office.12).gif GridlineStyleRight Gets or sets the right gridline style of the specified image control. Read/write Byte.
Bb257397.properties(en-us,office.12).gif GridlineStyleTop Gets or sets the top gridline style of the specified image control. Read/write Byte.
Bb257397.properties(en-us,office.12).gif GridlineWidthBottom Gets or sets the width of the bottom gridline for the specified image control. Read/write Byte.
Bb257397.properties(en-us,office.12).gif GridlineWidthLeft Gets or sets the width of the left gridline for the specified image control. Read/write Byte.
Bb257397.properties(en-us,office.12).gif GridlineWidthRight Gets or sets the width of the right gridline for the specified image control. Read/write Byte.
Bb257397.properties(en-us,office.12).gif GridlineWidthTop Gets or sets the width of the top gridline for the specified image control. Read/write Byte.
Bb257397.properties(en-us,office.12).gif Height Gets or sets the height of the specified object in twips. Read/write Integer.
Bb257397.properties(en-us,office.12).gif HelpContextId The HelpContextID property specifies the context ID of a topic in the custom Help file specified by the HelpFile property setting. Read/write Long.
Bb257397.properties(en-us,office.12).gif HorizontalAnchor Gets or sets an AcHorizontalAnchor constant that indicates how the image is anchored horizontally within its layout. Read/write.
Bb257397.properties(en-us,office.12).gif Hyperlink You can use the Hyperlink property to return a reference to a Hyperlink object. You can use the Hyperlink property to access the properties and methods of a control's hyperlink. Read-only.
Bb257397.properties(en-us,office.12).gif HyperlinkAddress You can use the HyperlinkAddress property to specify or determine the path to an object, document, Web page or other destination for a hyperlink associated with a the specified control. Read/write String.
Bb257397.properties(en-us,office.12).gif HyperlinkSubAddress You can use the HyperlinkSubAddress property to specify or determine a location within the target document specified by the HyperlinkAddress property. Read/write String.
Bb257397.properties(en-us,office.12).gif ImageHeight You can use the ImageHeight property to determine the height in twips of the picture in an image control. Read/write Long.
Bb257397.properties(en-us,office.12).gif ImageWidth You can use the ImageWidth property to determine the width in twips of a picture in an image control. Read/write Long.
Bb257397.properties(en-us,office.12).gif InSelection You can use the InSelection property to determine or specify whether a control on a form in Design view is selected. Read/write Boolean.
Bb257397.properties(en-us,office.12).gif IsVisible You can use the IsVisible property in to determine whether a control on a report is visible. Read/write Boolean.
Bb257397.properties(en-us,office.12).gif Layout Returns the type of layout for the specified image. Read-only AcLayoutType.
Bb257397.properties(en-us,office.12).gif LayoutID Returns the unique identifier for the layout that contains the specified image. Read-only Long.
Bb257397.properties(en-us,office.12).gif Left You can use the Left property to specify an object's location on a form or report. Read/write Integer.
Bb257397.properties(en-us,office.12).gif LeftPadding Gets or sets the amount of space (in inches) between the image control and its left gridline. Read/write Integer.
Bb257397.properties(en-us,office.12).gif Name You can use the Name property to specify or determine the string expression that identifies the name of an object. Read/write String.
Bb257397.properties(en-us,office.12).gif ObjectPalette The ObjectPalette property specifies the palette in the application used to create A bitmap or other graphic that is loaded into the specified control by using the Picture property. Read/write Variant.
Bb257397.properties(en-us,office.12).gif OldBorderStyle You can use this property to set or returns the unedited value of the BorderStyle property for a form or control. This property is useful if you need to revert to an unedited or preferred border style. Read/write Byte.
Bb257397.properties(en-us,office.12).gif OldValue You can use the OldValue property to determine the unedited value of a bound control. Read-only Variant.
Bb257397.properties(en-us,office.12).gif OnClick Sets or returns the value of the On Click box in the Properties window. Read/write String.
Bb257397.properties(en-us,office.12).gif OnDblClick Sets or returns the value of the On Dbl Click box in the Properties window. Read/write String.
Bb257397.properties(en-us,office.12).gif OnMouseDown Sets or returns the value of the On Mouse Down box in the Properties window. Read/write String.
Bb257397.properties(en-us,office.12).gif OnMouseMove Sets or returns the value of the On Mouse Move box in the Properties window. Read/write String.
Bb257397.properties(en-us,office.12).gif OnMouseUp Sets or returns the value of the On Mouse Up box in the Properties window. Read/write String.
Bb257397.properties(en-us,office.12).gif Parent Returns the parent object for the specified object. Read-only.
Bb257397.properties(en-us,office.12).gif Picture You can use the Picture property to specify a bitmap or other type of graphic to be displayed on the specified control. Read/write String.
Bb257397.properties(en-us,office.12).gif PictureAlignment You can use the PictureAlignment property to specify where a background picture will appear in an image control or on a form or report. Read/write Byte.Read/write
Bb257397.properties(en-us,office.12).gif PictureData You can use the PictureData property to copy the picture to another object that supports the Picture property. Read/write Variant.
Bb257397.properties(en-us,office.12).gif PictureTiling You can use the PictureTiling property to specify whether a background picture is tiled across the entire image control, Form window, form, or page of a report. Read/write Boolean.
Bb257397.properties(en-us,office.12).gif PictureType You can use the PictureType property to specify whether Microsoft Access stores an object's picture as a linked or an embedded object. Read/write Byte.
Bb257397.properties(en-us,office.12).gif Properties Returns a reference to a control's Properties collection object. Read-only.
Bb257397.properties(en-us,office.12).gif RightPadding Gets or sets the amount of space (in inches) between the image control and its right gridline. Read/write Integer.
Bb257397.properties(en-us,office.12).gif Section You can identify these controls by the section of a form or report where the control appears. Read/write Integer.
Bb257397.properties(en-us,office.12).gif ShortcutMenuBar You can use the ShortcutMenuBar property to specify the shortcut menu that will appear when you right-click on the specified object. Read/write String.
Bb257397.properties(en-us,office.12).gif SizeMode You can use the SizeMode property to specify how to size a picture or other object in a bound object frame, an unbound object frame, or an image control.
Bb257397.properties(en-us,office.12).gif SpecialEffect You can use the SpecialEffect property to specify whether special formatting will apply to the specified object. Read/write Byte.
Bb257397.properties(en-us,office.12).gif TabIndex You can use the TabIndex property to specify a control's place in the tab order on a form. Read/write Integer.
Bb257397.properties(en-us,office.12).gif TabStop You can use the TabStop property to specify whether you can use the TAB key to move the focus to a control in Form view. Read/write Boolean.
Bb257397.properties(en-us,office.12).gif Tag Stores extra information about a form, report, section, or control needed by a Microsoft Access application. Read/write String.
Bb257397.properties(en-us,office.12).gif Top You can use the Top property to specify an object's location on a form or report. Read/write Integer.
Bb257397.properties(en-us,office.12).gif TopPadding Gets or sets the amount of space (in inches) between the image control and its top gridline. Read/write Integer.
Bb257397.properties(en-us,office.12).gif VerticalAnchor Gets or sets an AcVerticalAnchor constant that indicates how the specified image is anchored vertically within its layout. Read/write.
Bb257397.properties(en-us,office.12).gif Visible Returns or sets whether the object is visible. Read/write Boolean.
Bb257397.properties(en-us,office.12).gif Width Gets or sets the height of the specified object in twips. Read/write Integer.

Events

  Name Description
Bb257397.events(en-us,office.12).gif Click The Click event occurs when the user presses and then releases a mouse button over an object.
Bb257397.events(en-us,office.12).gif DblClick The DblClick event occurs when the user presses and releases the left mouse button twice over an object within the double-click time limit of the system.
Bb257397.events(en-us,office.12).gif MouseDown The MouseDown event occurs when the user presses a mouse button.
Bb257397.events(en-us,office.12).gif MouseMove The MouseMove event occurs when the user moves the mouse.
Bb257397.events(en-us,office.12).gif MouseUp The MouseUp event occurs when the user releases a mouse button.