VideoFormatDesc.IsValidSize Method |
This method checks whether a specified size matches the size constraints of this VideoFormatDesc.
|
Syntax: |
|
[C#] public bool IsValidSize( System.Drawing.Size sz );
public bool IsValidSize( int width, int height );
|
|
|
|
sz |
|
Size to be checked for validity.
|
width |
|
Width to be checked for validity.
|
height |
|
Height to be checked for validity.
|
|
Return value: |
|
true, if a valid VideoFormat can be created with the specified size,
otherwise false.
|
See also: |
|
VideoFormatDesc, VideoFormatDesc.CreateVideoFormat |