Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfTicketComponent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Implements
IPdfComponent
Modifiers
sealed

A compact ticket or admission-pass recipe over the normal PDF panel flow.

Inheritance

  • object
  • PdfTicketComponent

Constructors

public PdfTicketComponent(string title, string ticketNumber, DateTime? startsAt = null, string? venue = null, string? holder = null, string? instructions = null, CultureInfo? culture = null) #

Creates a ticket recipe.

Parameters

title string required
ticketNumber string required
startsAt System.DateTime? = null optional
venue string? = null optional
holder string? = null optional
instructions string? = null optional
culture System.Globalization.CultureInfo? = null optional

Methods

public void Compose(PdfContentBuilder content) #

Composes this component into the supplied document content.

Parameters

content OfficeIMO.Pdf.PdfContentBuilder required

Properties

public string Title { get; } #

Event or pass title.

public string TicketNumber { get; } #

Searchable ticket identifier.

public DateTime? StartsAt { get; } #

Optional start time.

public string? Venue { get; } #

Optional venue.

public string? Holder { get; } #

Optional holder name.

public string? Instructions { get; } #

Optional instructions.