| PrtBuffer.Resize Method | Language: | 
      
      
      Changes the number of samples contained in the buffer.
      Definition
      
        
          
            | Visual Basic | Public Sub Resize( _ ByVal newSize As Integer _
 )
 | 
          
            | C# | public void  Resize( int newSize
 );
 | 
          
            | C++ | public: void Resize(
 int newSize
 );
 | 
          
            | JScript | public function Resize( newSize : int
 );
 | 
        
      
      Parameters
      
        
          
            | newSize | System.Int32 Number of samples to be contained in the buffer.
 | 
        
      
      Remarks
      
        
          
            Exceptions
            
              | OutOfMemoryException  | Microsoft Direct3D could not allocate sufficient memory to complete the call. | 
          
        
      
      
      Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
      
        
          Feedback? Please provide us with your comments on this topic.
			
        
        
	   		For more help, visit the DirectX Developer Center