# PdfLabelSheetComponent

A simple printable label grid implemented as a normal flow table.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfLabelSheetComponent.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Components/PdfLabelSheetComponent.cs#L27)

**Implements**

`IPdfComponent`

**Modifiers**

sealed

A simple printable label grid implemented as a normal flow table.

## Inheritance

- object
- PdfLabelSheetComponent

Filter members 

Show inherited

## Constructors

`public PdfLabelSheetComponent(IEnumerable<PdfLabel> labels, int columns = 3)` [#](#constructor-ctor-collections-generic-ienumerable-officeimo-pdf-pdflabel-int32)

[PdfLabelSheetComponent.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Components/PdfLabelSheetComponent.cs#L27)

Creates a label sheet with a fixed logical column count.

Parameters

**labels System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfLabel> required**

**columns int = 3 optional**

## Methods

`public void Compose(PdfContentBuilder content)` [#](#method-compose-officeimo-pdf-pdfcontentbuilder)

[PdfLabelSheetComponent.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Components/PdfLabelSheetComponent.cs#L41)

Composes this component into the supplied document content.

Parameters

**content OfficeIMO.Pdf.PdfContentBuilder required**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int Columns { get; }` [#](#property-columns)

[PdfLabelSheetComponent.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Components/PdfLabelSheetComponent.cs#L37)

Number of labels per row.

<!-- PowerForge markdown artifact sha256:7861C2F85A8A26DC7EFD1147D0710CAEF6412C6EF3A00382BD6FE2AB1DAF75DC -->
