ApplicationSettings Members (Visio)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents various application settings for Microsoft Visio.

Methods

Name

Description

GetRasterExportResolution

Returns the raster export resolution settings.

GetRasterExportSize

Gets the raster export size.

SetRasterExportResolution

Specifies the raster export resolution settings.

SetRasterExportSize

Sets the raster export size.

Properties

Name

Description

Application

Returns the instance of Microsoft Visio that is associated with an object. Read-only.

ApplyBackgroundToDocument

Determines whether the selected background or border is applied to all pages in the document (True) or only to the current page (False). Read/write.

ApplyThemesOnShapeAdd

Gets or sets whether to apply themes to new shapes when they are added to the drawing page. Read/write.

AsianTextUI

Gets whether Asian text is displayed in the Microsoft Visio user interface. Read-only.

BIDITextUI

Gets the current setting for display of right-to-left languages. Read-only.

CenterSelectionOnZoom

Determines whether when the user zooms in, the selection appears in the center of the window. Read/write.

ComplexTextUI

Gets whether complex text is displayed in the Microsoft Visio user interface. Read-only.

ConnectorSplittingEnabled

Determines whether connector splitting is enabled in Microsoft Visio. Read/write.

DefaultSaveFormat

Determines the default format for saving Microsoft Visio files. Read/write.

DeleteConnectorsEnabled

Determines whether connectors are deleted when a shape to which they are connected is deleted. Read/write.

DeveloperMode

Determines if certain user interface functions for the development environment in Microsoft Visio are enabled. Read/write.

DrawingAids

Determines whether drawing aids are currently active in Microsoft Visio. Read/write.

DrawingBackgroundColor

Determines the background color of the Microsoft Visio drawing window for the current session. Read/write.

DrawingBackgroundColorGradient

Determines the background gradient color of the Microsoft Visio drawing window for the current session. Read/write.

DrawingPageColor

Determines the page color of the Microsoft Visio drawing window for the current session. Read/write.

EnableAutoConnect

Determines whether the AutoConnect feature is enabled in the Microsoft Visio user interface (UI). Read/write.

EnableFormulaAutoComplete

Indicates whether ShapeSheet formula AutoComplete is enabled. Read/write.

EnterCommitsText

Returns or sets a Boolean that determines whether pressing Enter commits shape text (True) or writes a new line (False, the default). Read/write.

FreeformDrawingPrecision

Determines the margin of error allowed when the Freeform tool is drawing a straight line before it switches to drawing a spline. Read/write.

FreeformDrawingSmoothing

Determines how precisely mouse movements are smoothed when drawing a spline. Read/write.

KanaFindAndReplace

Gets whether additional options specific to Japanese in the Find and Replace dialog boxes are available. Read-only.

KashidaTextUI

Gets the current setting for display of Kashida text-justification in certain cursive languages. Read-only.

ObjectType

Returns an object's type. Read-only.

RasterExportBackgroundColor

Determines the background color that is applied to the exported image when you call the Export method of the Master, Page, Selection, or Shape object to export the specified object to a BMP, GIF, JPG, PNG, or TIFF file. Read/write.

RasterExportColorFormat

Determines the color format that is applied to the exported image when you call the Export method of the Master, Page, Selection, or Shape object to export the specified object to a BMP, JPG, PNG, or TIFF file. Read/write.

RasterExportColorReduction

Determines the color reduction that is applied to the exported image when you call the Export method of the Master, Page, Selection, or Shape object to export the specified object to a BMP, GIF, PNG, or TIFF file. Read/write.

RasterExportDataCompression

Determines the data compression algorithm that is applied to the exported image when you call the Export method of the Master, Page, Selection, or Shape object to export the specified object to a BMP or TIFF file. Read/write.

RasterExportDataFormat

Determines whether the exported raster image is interlaced or non-interlaced when you call the Export method of the Master, Page, Selection, or Shape object to export the specified object to a GIF or PNG file. Read/write.

RasterExportFlip

Determines the flip that is applied to the exported image when you call the Export method of the Master, Page, Selection, or Shape object to export the specified object to a BMP, GIF, JPG, PNG, or TIFF file. Read/write.

RasterExportOperation

Determines the export operation that is applied to the exported image when you call the Export method of the Master, Page, Selection, or Shape object to export the specified object to a JPG file. Read/write.

RasterExportQuality

Determines the export quality that is applied to the exported image when you call the Export method of the Master, Page, Selection, or Shape object to export the specified object to a JPG file. Read/write.

RasterExportRotation

Determines the rotation that is applied to the exported image when you call the Export method of the Master, Page, Selection, or Shape object to export the specified object to a BMP, GIF, JPG, PNG, or TIFF file. Read/write.

RasterExportTransparencyColor

Determines the transparency color that is applied to the exported image when you call the Export method of the Master, Page, Selection, or Shape object to export the specified object to a GIF or PNG file. Read/write.

RasterExportUseTransparencyColor

Determines whether Microsoft Visio applies, to the exported image, the transparency color that is specified in the RasterExportTransparencyColor property when you call the Export method of the Master, Page, Selection, or Shape object to export the specified object to a GIF or PNG file. Read/write.

RecentFilesListSize

Determines the number of entries in the Recent Documents list in the Microsoft Visio user interface. Read/write.

SATextUI

Gets the current setting for display of South Asian languages. Read-only.

ShowChooseDrawingTypePane

Determines if the New tab appears when the user opens Microsoft Visio. Read/write.

ShowFileOpenWarnings

Determines if warning messages appear when the user attempts to open files in XML format that contain errors, such as invalid XML code. Read/write.

ShowFileSaveWarnings

Determines if warning messages appear when the user attempts to save in XML format drawings that contain errors, such as invalid XML code. Read/write.

ShowMoreShapeHandlesOnHover

Gets or sets whether to show additional shape handles when the mouse is paused over a shape. Read/write.

ShowShapeSearchPane

Gets or sets whether the Shape Search pane is visible in the Microsoft Visio user interface (UI). Read/write.

ShowSmartTags

Determines whether display of smart tags in Microsoft Visio is enabled. Read/write.

SnapStrengthExtensionsX

Specifies the distance in pixels along the x-axis that shape extension lines pull when snapping is enabled. Read/Write.

SnapStrengthExtensionsY

Specifies the distance in pixels along the y-axis that shape extension lines pull when snapping is enabled. Read/write.

SnapStrengthGeometryX

Specifies the distance in pixels along the x-axis that shape geometry pulls when snapping is enabled. Read/write.

SnapStrengthGeometryY

Specifies the distance in pixels along the y-axis that shape geometry pulls when snapping is enabled. Read/write.

SnapStrengthGridX

Specifies the distance in pixels along the x-axis that gridlines pull when snapping is enabled. Read/write.

SnapStrengthGridY

Specifies the distance in pixels along the y-axis that gridlines pull when snapping is enabled. Read/write.

SnapStrengthGuidesX

Specifies the distance in pixels along the x-axis that guides pull when snapping is enabled. Read/write.

SnapStrengthGuidesY

Specifies the distance in pixels along the y-axis that guides pull when snapping is enabled. Read/write.

SnapStrengthPointsX

Specifies the distance in pixels along the x-axis that points pull when snapping is enabled. Read/write.

SnapStrengthPointsY

Specifies the distance in pixels along the y-axis that points pull when snapping is enabled. Read/write.

SnapStrengthRulerX

Specifies the distance in pixels along the x-axis that rulers pull when snapping is enabled. Read/write.

SnapStrengthRulerY

Specifies the distance in pixels along the y-axis that rulers pull when snapping is enabled. Read/write.

Stat

Returns status information for an object. Read-only.

StencilBackgroundColor

Determines the background color of the Microsoft Visio stencil window for the current session. Read/write.

StencilBackgroundColorGradient

Determines the background gradient color of the Microsoft Visio stencil window for the current session. Read/write.

StencilCharactersPerLine

For shapes on stencils, determines approximately how many characters of each shape's name appear on each line before the text wraps to the next line. Read/write.

StencilLinesPerMaster

For shapes on stencils in Microsoft Visio, determines how many lines of text of each shape's name can appear below the shape before the text is truncated and "..." is appended. Read/write.

StencilTextColor

Determines the color of text in stencil windows in Microsoft Visio for the current session. Read/write.

SVGExportFormat

Returns or sets a VisSVGExportFormat constant that specifies the options for saving a Microsoft Visio file in SVG format. Read/write.

TransitionsEnabled

Determines whether Microsoft Visio uses an animated transition to show certain shape movements, such as re-layout of shapes. Read/write.

UndoLevels

Determines the number of consecutive actions the user can undo in Microsoft Visio. Read/write.

UserInitials

Determines the user initials associated with the Microsoft Visio file. Read/write.

UserName

Gets or sets the user name of an Application object. Read/write.

ZoomOnRoll

Determines whether zooming in to and out from a Microsoft Visio drawing by rolling the wheel of the mouse is enabled. Read/write.