Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dotnet] Allow setting of PageDimensions and PageMargins in PrintOptions directly #14593

Merged
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions dotnet/src/webdriver/PrintOptions.cs
shbenzer marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,21 @@ public bool ShrinkToFit
}

/// <summary>
/// Gets the dimensions for each page in the printed document.
/// Gets or sets the dimensions for each page in the printed document.
/// </summary>
public PageSize PageDimensions
{
get { return pageSize; }
set { pageSize = value; }
shbenzer marked this conversation as resolved.
Show resolved Hide resolved
}

/// <summary>
/// Gets the margins for each page in the doucment.
/// Gets or sets the margins for each page in the doucment.
/// </summary>
public Margins PageMargins
{
get { return margins; }
set { margins = value; }
}

/// <summary>
Expand Down