Table of Contents

Class Zoom

Namespace
Crews.PlanningCenter.Api.Services.V2018_11_01
Assembly
Crews.PlanningCenter.Api.dll

Attributes for the Zoom resource.

public record Zoom : IEquatable<Zoom>
Inheritance
Zoom
Implements
Inherited Members

Constructors

Zoom()

public Zoom()

Zoom(Zoom)

protected Zoom(Zoom original)

Parameters

original Zoom

Properties

AspectRatio

The aspect ratio of the device this zoom is for. It is rounded to the nearest 3 decimal places.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("aspect_ratio")]
public decimal? AspectRatio { get; init; }

Property Value

decimal?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

XOffset

The percentage of the document's width the zoomed document should be offset by horizontally.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("x_offset")]
public decimal? XOffset { get; init; }

Property Value

decimal?

YOffset

The percentage of the document's height the zoomed document should be offset by vertically.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("y_offset")]
public decimal? YOffset { get; init; }

Property Value

decimal?

ZoomLevel

The percentage of the zoom. Must be a value between 1.0 and 5.0

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("zoom_level")]
public decimal? ZoomLevel { get; init; }

Property Value

decimal?

Methods

Equals(Zoom?)

public virtual bool Equals(Zoom? other)

Parameters

other Zoom

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(Zoom?, Zoom?)

public static bool operator ==(Zoom? left, Zoom? right)

Parameters

left Zoom
right Zoom

Returns

bool

operator !=(Zoom?, Zoom?)

public static bool operator !=(Zoom? left, Zoom? right)

Parameters

left Zoom
right Zoom

Returns

bool