Table of Contents

Class RepositoryItemType

Namespace
combit.Reporting.Repository
Assembly
combit.ListLabel31.CrossPlatform.dll

Provides the predefined repository item types of List & Label.

public sealed class RepositoryItemType
Inheritance
RepositoryItemType
Inherited Members

Fields

Folder

A folder.

public static readonly RepositoryItemType Folder

Field Value

RepositoryItemType

Image

An image in a format like PNG, GIF, JPG.

public static readonly RepositoryItemType Image

Field Value

RepositoryItemType

PDF

A PDF document.

public static readonly RepositoryItemType PDF

Field Value

RepositoryItemType

PrinterConfig

A device-dependent printer config file (.lsp files)

public static readonly RepositoryItemType PrinterConfig

Field Value

RepositoryItemType

ProjectCard

A List & Label project of the 'Card' type (.crd files)

public static readonly RepositoryItemType ProjectCard

Field Value

RepositoryItemType

ProjectIndex

A List & Label project of the 'Index' type (.idx files)

public static readonly RepositoryItemType ProjectIndex

Field Value

RepositoryItemType

ProjectLabel

A List & Label project of the 'Label' type (.lbl files)

public static readonly RepositoryItemType ProjectLabel

Field Value

RepositoryItemType

ProjectList

A List & Label project of the 'List' type (.lst files)

public static readonly RepositoryItemType ProjectList

Field Value

RepositoryItemType

ProjectReverseSide

A List & Label project of the 'ReverseSide' type (.gtc files)

public static readonly RepositoryItemType ProjectReverseSide

Field Value

RepositoryItemType

ProjectTableOfContents

A List & Label project of the 'TableOfContents' type (.toc files)

public static readonly RepositoryItemType ProjectTableOfContents

Field Value

RepositoryItemType

Shapefile

A shapefile definition (.shp).

public static readonly RepositoryItemType Shapefile

Field Value

RepositoryItemType

ShapefileDatabase

A shapefile database (.dbf).

public static readonly RepositoryItemType ShapefileDatabase

Field Value

RepositoryItemType

SketchImage

A small sketch image of the project layout in JPG format.

public static readonly RepositoryItemType SketchImage

Field Value

RepositoryItemType

Properties

Value

The string equivalent of the item type which may be used to compare the predefined types with the actual value in Type.

public string Value { get; }

Property Value

string

Methods

FromLlProject(LlProject)

Returns the corresponding repository item type for the given List & Label project type.

public static RepositoryItemType FromLlProject(LlProject project)

Parameters

project LlProject

The List & Label project type.

Returns

RepositoryItemType

Exceptions

ArgumentException

Thrown for invalid project type values.

FromStringValue(string)

Returns the corresponding RepositoryItemType object for the given string value.

public static RepositoryItemType FromStringValue(string typeValue)

Parameters

typeValue string

String value of a repository item type. See Value.

Returns

RepositoryItemType

Exceptions

ArgumentException

Thrown if typeValue is not a valid repository item type.

IsFolder(string)

public static bool IsFolder(string typeValue)

Parameters

typeValue string

Returns

bool

IsProjectType(string, bool)

Returns true if the specified type is a List & Label project.

public static bool IsProjectType(string typeValue, bool allowSpecialProjectTypes = true)

Parameters

typeValue string

String value of a repository item type. See Value.

allowSpecialProjectTypes bool

Decides if GTC, Index and TOC projects should be allowed or not

Returns

bool

IsProjectType(RepositoryItemType, bool)

Returns true if the specified type is a List & Label project.

public static bool IsProjectType(RepositoryItemType typeValue, bool allowSpecialProjectTypes = true)

Parameters

typeValue RepositoryItemType

Repository item type. See RepositoryItemType.

allowSpecialProjectTypes bool

Decides if GTC, Index and TOC projects should be allowed or not

Returns

bool

ToLlProject(string)

Returns the corresponding List & Label project type for a repository item type.

public static LlProject ToLlProject(string itemType)

Parameters

itemType string

The repository item type.

Returns

LlProject

Exceptions

ArgumentException

Thrown if the specified type is not a project type.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.