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
originalZoom
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
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
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
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
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
Methods
Equals(Zoom?)
public virtual bool Equals(Zoom? other)
Parameters
otherZoom
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(Zoom?, Zoom?)
public static bool operator ==(Zoom? left, Zoom? right)
Parameters
Returns
operator !=(Zoom?, Zoom?)
public static bool operator !=(Zoom? left, Zoom? right)