Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

VisioLayer

OfficeIMO.Visio

Namespace
OfficeIMO.Visio
Assembly
OfficeIMO.Visio
Source revision
9931e96ab849 with working tree changes
Modifiers
sealed

Represents a Visio page layer stored in the page ShapeSheet. Explicit value assignments replace imported formulas and producer error/null state, even when unchanged.

Inheritance

  • object
  • VisioLayer

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 3

Constructors

public VisioLayer(string name, string? nameU = null) #

Creates a layer with the provided display name.

Parameters

name string required
Layer name shown in Visio.
nameU string? = null optional
Universal layer name. Defaults to name.

Properties

public string Name { get; set; } #

Layer name shown in Visio.

public string NameU { get; set; } #

Universal layer name used for stable matching.

public int Color { get; set; } #

Visio layer color index.

public int Status { get; set; } #

Visio layer status value.

public bool Visible { get; set; } #

Whether layer members are visible.

public bool Print { get; set; } #

Whether layer members are printed.

public bool Active { get; set; } #

Whether the layer is active in Visio.

public bool Lock { get; set; } #

Whether layer members are locked.

public bool Snap { get; set; } #

Whether snapping to layer members is enabled.

public bool Glue { get; set; } #

Whether glue to layer members is enabled.

public int ColorTransparency { get; set; } #

Visio color transparency value.