Tasqize Namespace

Classes

Class NameDescription
LicenseProvides methods to license the component.
PdfSaveOptionsSpecifies various options to control how the project is saved to PDF.
ProjectToPdfConverterTransforms Microsoft Project files (MPP) into PDF documents.
TextStyleRepresents a text style applied to certain text items in the PDF output.
ViewSettingsRepresents optional explicit view settings for generating the PDF.

Enums

Enum NameDescription
BackgroundPatternDefines the pattern used to fill the background of certain text items in the PDF output.
FontStylesSpecifies style information applied to text.
PresentationFormatSpecifies the presentation format for the exported PDF (GanttChart, TaskUsage, etc.).
TextItemTypeSpecifies the item type of text that can be customized (e.g. NoncriticalTasks, MilestoneTasks).
TimescaleSpecifies the timescale (e.g., Days, Weeks, Months) used when rendering the project view in a PDF.

Subsections of Tasqize Namespace

Class License

Info

Provides methods to license the component.

public sealed class License

Inheritance

objectLicense

Inherited Members

Constructors

No public constructors besides the default.

Methods

SetLicense(string)

Licenses the component using a file path.

public void SetLicense(string licenseName)

Parameters

  • licenseName string: Can be a full or short file name or name of an embedded resource.

SetLicense(Stream)

Licenses the component using a stream.

public void SetLicense(System.IO.Stream stream)

Parameters

  • stream Stream: A stream that contains the license.

Namespace: Tasqize Assembly: Tasqize.dll

Class PdfSaveOptions

Info

Specifies various options to control how the project is saved to PDF.

public class PdfSaveOptions

Inheritance

objectPdfSaveOptions

Inherited Members

Constructors

PdfSaveOptions()

Initializes a new instance of the Tasqize.PdfSaveOptions class with default settings.

public PdfSaveOptions()

Properties

FitContent

Indicates whether the content should be fitted within the available cell size.

public bool FitContent { get; set; }

Property Value

bool


Timescale

Specifies the timescale (Days, Weeks, Months, etc.) used when rendering the project.

public Timescale Timescale { get; set; }

Property Value

Timescale


PresentationFormat

Specifies the presentation format for the exported PDF (e.g., GanttChart, ResourceUsage).

public PresentationFormat PresentationFormat { get; set; }

Property Value

PresentationFormat


TextStyles

List of TextStyle objects applied to specific text items in the exported PDF.

public System.Collections.Generic.List<TextStyle> TextStyles { get; set; }

Property Value

List<TextStyle>

Namespace: Tasqize Assembly: Tasqize.dll

Class ProjectToPdfConverter

Info

Transforms Microsoft Project files (MPP) into PDF documents.

public class ProjectToPdfConverter

Inheritance

objectProjectToPdfConverter

Inherited Members

Constructors

No public constructors besides the default.

Methods

ConvertToPdf(string, string)

Converts a Microsoft Project file (MPP) to a PDF file using default settings.

public void ConvertToPdf(string inputFilePath, string outputFilePath)

Parameters

  • inputFilePath string: Full path to the input MPP file.
  • outputFilePath string: Full path to the output PDF file.

Exceptions


ConvertToPdf(string, string, PdfSaveOptions)

Converts a Microsoft Project file (MPP) to a PDF file using specified PDF save options.

public void ConvertToPdf(string inputFilePath, string outputFilePath, PdfSaveOptions options)

Parameters

  • inputFilePath string: Full path to the input MPP file.
  • outputFilePath string: Full path to the output PDF file.
  • options PdfSaveOptions: Custom export settings (null uses defaults).

Exceptions

Namespace: Tasqize Assembly: Tasqize.dll

Class TextStyle

Info

Represents a text style applied to certain text items in the PDF output.

public class TextStyle

Inheritance

objectTextStyle

Inherited Members

Constructors

No special public constructors besides the default.

Properties

Color

Gets or sets the color of the text.

public System.Drawing.Color Color { get; set; }

Property Value

Color


FontStyle

Gets or sets the font style (e.g., Bold, Italic). Multiple styles can be combined.

public FontStyles FontStyle { get; set; }

Property Value

FontStyles


ItemType

Gets or sets the type of text items this style is applied to.

public TextItemType ItemType { get; set; }

Property Value

TextItemType


BackgroundColor

Gets or sets the background color of the text style.

public System.Drawing.Color BackgroundColor { get; set; }

Property Value

Color


BackgroundPattern

Gets or sets the background pattern of the text style.

public BackgroundPattern BackgroundPattern { get; set; }

Property Value

BackgroundPattern

Namespace: Tasqize Assembly: Tasqize.dll

Class ViewSettings

Info

Represents optional explicit view settings for generating the PDF.

public class ViewSettings

Inheritance

objectViewSettings

Inherited Members

Constructors

ViewSettings()

Initializes a new instance of the ViewSettings class with default values.

public ViewSettings()

Properties

ViewName

Gets or sets a custom view name to be applied when rendering the project to PDF.

public string ViewName { get; set; }

Property Value

string


ShowLegend

Gets or sets a value indicating whether the view should display a legend.

public bool ShowLegend { get; set; }

Property Value

bool


ShowProgressLines

Gets or sets a value indicating whether the view should display progress lines.

public bool ShowProgressLines { get; set; }

Property Value

bool

Namespace: Tasqize Assembly: Tasqize.dll

Enum BackgroundPattern

Info

Defines the pattern used to fill the background of certain text items in the PDF output.

public enum BackgroundPattern

Fields

  • SolidFill = 0: A solid fill pattern is applied.

Namespace: Tasqize Assembly: Tasqize.dll

Enum FontStyles

Info

Specifies style information applied to text.

[Flags]
public enum FontStyles

Fields

  • Regular = 0: Normal text.
  • Bold = 1: Bold text.
  • Italic = 2: Italic text.
  • Underline = 4: Underlined text.
  • Strikeout = 8: Text with a line through the middle.

Namespace: Tasqize Assembly: Tasqize.dll

Enum PresentationFormat

Info

Specifies the presentation format for the exported PDF.

public enum PresentationFormat

Fields

  • GanttChart = 0: Represents the Gantt Chart view.
  • TaskUsage = 1: Represents the Task Usage view.
  • ResourceUsage = 2: Represents the Resource Usage view.
  • ResourceSheet = 3: Represents the Resource Sheet view.

Namespace: Tasqize Assembly: Tasqize.dll

Enum TextItemType

Info

Specifies the item type of text that can be customized (e.g. NoncriticalTasks, MilestoneTasks).

public enum TextItemType

Fields

  • RowColumnTitles = 0: Row and column titles.
  • CriticalTasks = 1: Critical tasks.
  • NoncriticalTasks = 2: Noncritical tasks.
  • MilestoneTasks = 3: Milestone tasks.
  • InactiveTasks = 4: Inactive tasks.
  • SummaryTasks = 5: Summary tasks.
  • AssignmentRow = 6: Assignment row.
  • TopTimescaleTier = 7: Top timescale tier.
  • BottomTimescaleTier = 8: Bottom timescale tier.
  • MiddleTimescaleTier = 9: Middle timescale tier.
  • Resources = 10: Resource sheet.
  • OverallocatedResources = 11: Overallocated resources.
  • TaskFilterHighlight = 12: Task Filter Highlight text item.
  • BarTextBottom = 13: Bar Text Bottom.
  • BarTextInside = 14: Bar Text Inside.
  • BarTextLeft = 15: Bar Text Left.
  • BarTextRight = 16: Bar Text Right.
  • BarTextTop = 17: Bar Text Top.
  • MarkedTasks = 18: Marked task text item.
  • ProjectSummary = 19: Project summary task text item.
  • ExternalTasks = 20: External tasks.
  • Allocated = 21: Allocated text item.
  • ChangedCells = 22: Changed cells.

Namespace: Tasqize Assembly: Tasqize.dll

Enum Timescale

Info

Specifies the timescale (e.g., Days, Weeks, Months) used when rendering the project view in a PDF.

public enum Timescale

Fields

  • Days = 0: Displays the project with a Days timescale.
  • Weeks = 1: Displays the project with a Weeks timescale.
  • Months = 2: Displays the project with a Months timescale.
  • ThirdsOfMonths = 3: Displays the project with a ThirdsOfMonths timescale.
  • Quarters = 4: Displays the project with a Quarters timescale.

Namespace: Tasqize Assembly: Tasqize.dll