Defines an object for Icons in Confluence.
New-Object -TypeName ConfluencePS.Icon [-Property @{}]
[ConfluencePS.Icon]@{}
The Icon
is an object that describes images in Confluence.
It is important to note, that the path to the resource is not absolute; but relative to the BaseUri of the Confluence server.
The following classes use Icon
for their properties:
This class does not have a constructor.
The Path describes the path to the Icon
resource relative to the BaseUri.
Type: String
Required: True
Default value: None
The Width describes the width of the Icon
resource in pixels.
Type: Int32
Required: False
Default value: None
The Height describes the height of the Icon
resource in pixels.
Type: Int32
Required: False
Default value: None
The IsDefault describes if the used Icon
resource is the default icon from the server.
Type: Boolean
Required: False
Default value: False
The method for casting an object of this class to string is overwritten.
When cast to string, this will return the Path
property’s value.