UtilDrawingResolutionIsOfAspectRatio(Int32, Int32, Point) Method
Determine whether the source resolution belongs to the specified aspect ratio.
Namespace: DevCase.Core.Media.GraphicsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool ResolutionIsOfAspectRatio(
int width,
int height,
Point aspectRatio
)
Public Shared Function ResolutionIsOfAspectRatio (
width As Integer,
height As Integer,
aspectRatio As Point
) As Boolean
Dim width As Integer
Dim height As Integer
Dim aspectRatio As Point
Dim returnValue As Boolean
returnValue = UtilDrawing.ResolutionIsOfAspectRatio(width,
height, aspectRatio)
public:
static bool ResolutionIsOfAspectRatio(
int width,
int height,
Point aspectRatio
)
static member ResolutionIsOfAspectRatio :
width : int *
height : int *
aspectRatio : Point -> bool
No code example is currently available or this language may not be supported.
- width Int32
-
The resolution width.
- height Int32
-
The resolution height.
- aspectRatio Point
-
The aspect ratio.
Boolean if the source resolution belongs to the specified aspect ratio; otherwise,
.
This is a code example.
No code example is currently available or this language may not be supported.
Dim width As Integer = 1920
Dim height As Integer = 1080
Dim aspectRatio As New Point(x:=16, y:=9)
Dim result As Boolean = ResolutionIsOfAspectRatio(width, height, aspectRatio)
Console.WriteLine(result)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.