'We assume that the GdViewer1 control has been properly integrated
'and your document has been properly displayed as well.
'Without changing the default settings.
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality")
GdViewer1.DisplayQualityAuto = False
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality")
GdViewer1.DisplayQualityAuto = True
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality")
'Setting some custom value.
GdViewer1.DisplayQuality = DisplayQuality.DisplayQualityBilinearHQ
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality")
GdViewer1.DisplayQualityAuto = True
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality")
GdViewer1.DisplayQualityAuto = False
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality")
'Changing to the automatic level directly.
GdViewer1.DisplayQuality = DisplayQuality.DisplayQualityAutomatic
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality")
'Turning off the automatic level.
GdViewer1.DisplayQualityAuto = False
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality")
//We assume that the GdViewer1 control has been properly integrated
//and your document has been properly displayed as well.
//Without changing the default settings.
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality");
GdViewer1.DisplayQualityAuto = false;
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality");
GdViewer1.DisplayQualityAuto = true;
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality");
//Setting some custom value.
GdViewer1.DisplayQuality = DisplayQuality.DisplayQualityBilinearHQ;
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality");
GdViewer1.DisplayQualityAuto = true;
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality");
GdViewer1.DisplayQualityAuto = false;
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality");
//Changing to the automatic level directly.
GdViewer1.DisplayQuality = DisplayQuality.DisplayQualityAutomatic;
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality");
//Turning off the automatic level.
GdViewer1.DisplayQualityAuto = false;
MessageBox.Show("DisplayQuality = " + GdViewer1.DisplayQuality.ToString(), "GdViewer.DisplayQuality");